package cn.darkhorse.alarm.service;

import cn.darkhorse.alarm.pojo.AlarmParameterSettings;
import cn.darkhorse.alarm.pojo.AlarmRecordInfo;
import cn.darkhorse.device.pojo.MesDevice;
import com.ruoyi.common.core.domain.entity.SysUser;

import java.util.Map;

public interface AlarmHandlerService {
    /**
     * 连续报警处理
     *
     * @param json
     * @param parameterSettingsMap
     * @param settingsMap
     * @param deviceMap
     * @param recordSwitchMap
     * @param recordValueLimitMap
     * @param recordValueImmediateMap
     */
    public void doHandler(String json, Map<Long, SysUser> parameterSettingsMap, Map<Long, AlarmParameterSettings> settingsMap, Map<Long, MesDevice> deviceMap, Map<String, AlarmRecordInfo> recordSwitchMap, Map<String, AlarmRecordInfo> recordValueLimitMap, Map<String, AlarmRecordInfo> recordValueImmediateMap,Map<String, String> paramsDescription);
    
    

}
